package com.shinheungcal;

import com.shinheungcal.Fragment.f_Cal1SolvePage;
import com.shinheungcal.IO.GearSpac;

import android.os.Bundle;

public class ResultActivity extends BaseActionbarActivity {

	private GearSpac spac;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.a_result);
		
		spac = (GearSpac) getIntent().getExtras().getSerializable("item");
		
		// containor = R.id.a_result_containor
		
		getSupportFragmentManager().beginTransaction().replace(R.id.a_result_containor, f_Cal1SolvePage.newInstance(spac), null).commit();
	}
}
